package com.taotao.manage.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.taotao.manage.mapper.ItemCatMapper;
import com.taotao.manage.pojo.ItemCat;
import com.taotao.manage.service.ItemCatService;

@Service
public class ItemCatServiceImpl implements ItemCatService {

    @Autowired
    private ItemCatMapper itemCatMapper;
    
    /**
     * 根据父节点ID查询商品类目列表
     */
    @Override
    public List<ItemCat> queryItemCatListByParentId(Long parentId) {
        return itemCatMapper.queryItemCatListByParentId(parentId);
    }

}
